home *** CD-ROM | disk | FTP | other *** search
/ Best Tools for JAVA / Best Tools for JAVA.iso / JAVA_ALL / IDE / SUBARTIC / SUB_ARCT / INPUT / CLICKABL.JAV < prev    next >
Encoding:
Text File  |  1996-10-04  |  1.4 KB  |  40 lines

  1.  
  2. package sub_arctic.input;
  3.  
  4. /** 
  5.  * Input protocol interface for objects which wish to receive a "click" (a 
  6.  * mouse button press and release in a small area).  This protocol is 
  7.  * dispatched by the click_agent dispatch agent.
  8.  *
  9.  * @author Scott Hudson
  10.  */
  11. public interface clickable {
  12.   /** 
  13.    * Dispatch click (press and release in small area) to the object.  Return
  14.    * true if input was consumed.  
  15.    *
  16.    * @param event  evt       the final event in the click sequence.
  17.    * @param Object user_info uninterpreted user information that was passed to
  18.    *                         the pick process that selected this object as a
  19.    *                         candidate for delivery of this event.
  20.    * @return boolean indicating whether the input was consumed.
  21.    */
  22.   public boolean click(event evt, Object  user_info);
  23. }
  24. /*=========================== COPYRIGHT NOTICE ===========================
  25.  
  26. This file is part of the subArctic user interface toolkit.
  27.  
  28. Copyright (c) 1996 Scott Hudson and Ian Smith
  29. All rights reserved.
  30.  
  31. The subArctic system is freely available for most uses under the terms
  32. and conditions described in 
  33.   http://www.cc.gatech.edu/gvu/ui/sub_arctic/sub_arctic/doc/usage.html 
  34. and appearing in full in the lib/interactor.java source file.
  35.  
  36. The current release and additional information about this software can be 
  37. found starting at: http://www.cc.gatech.edu/gvu/ui/sub_arctic/
  38.  
  39. ========================================================================*/
  40.